package com.fuqi.android.zhongcai.base.view.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;

import com.fuqi.android.zhongcai.R;
import com.fuqi.android.zhongcai.utils.ActivityUtils;

import butterknife.Bind;
import butterknife.OnClick;

/**
 * Created by Administrator on 2016/9/5 0005.
 */
public class ContactUsActivity extends BaseActivity{

    @Bind(R.id.contectwechatlayout)
    LinearLayout contectwechatlayout;
    @Bind(R.id.contactphonelayout)
    LinearLayout contactphonelayout;


    @OnClick({R.id.contectwechatlayout,R.id.contactphonelayout})
    public  void OnClick(View view){
        switch (view.getId()){
            case R.id.contectwechatlayout:
                ActivityUtils.startActivity(this,WechatActivity.class);
                break;
            case R.id.contactphonelayout:
                ActivityUtils.callTo(ContactUsActivity.this,"4008207836");
                break;
        }
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        titleBar.setTitle("联系我们");
    }
    @Override
    public void initView() {

    }

    @Override
    public void initListener() {

    }

    @Override
    public void initData() {

    }

    @Override
    public boolean hasTitleBar() {
        return true;
    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_contact_us;
    }
}
